package com.lonwin.inspectionmanagement.mvp.model.entity.bean;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Author: zhangjing
 * DATA:2018/12/25 7:15 PM
 * DESC:
 * email:zhangjingworkmol@163.com
 */
public class UserBean {

    /**
     * flag : 1
     * message : 查询成功
     * datas : [{"name":"大理州河长办测试用户","gpsID":"238799","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"州河长办","gpsID":"238800","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"河段长","gpsID":"239742","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"测试数据3","gpsID":"240492","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"州级河长","gpsID":"240497","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"测试河长办角色","gpsID":"241261","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"河长办2","gpsID":"241299","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"2","gpsID":"241675","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"3","gpsID":"241676","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"水河长办","gpsID":"241691","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"康定山","gpsID":"241808","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理州测试河长办","gpsID":"241813","roleList":[{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"zys","gpsID":"238789","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理州河长办测试用户","gpsID":"238799","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"邵漾华","gpsID":"238705","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理1","gpsID":"238760","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"林业局","gpsID":"241137","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"测试河长办角色","gpsID":"241261","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"多角色1","gpsID":"241481","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理纪委","gpsID":"241683","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理州环保局","gpsID":"241684","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理州水文局","gpsID":"241685","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"张人民","gpsID":"241698","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"州财政局","gpsID":"241732","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"223","gpsID":"241788","roleList":[{"roleID":"627","roleCode":"ROLE_LDBM","roleName":"联动部门","roleId":"627"}],"groupID":"13871","groupName":"大理州河长办","groupAdcd":"-1","roleNameStr":null,"roleCodeStr":null},{"name":"大理州河长办测试用户","gpsID":"238799","roleList":[{"roleID":"624","roleCode":"ROLE_HZ","roleName":"河长","roleId":"624"},{"roleID":"626","roleCode":"ROLE_LLY","roleName":"联络员","roleId":"626"}],"groupID":"14152","groupName":"洱海","groupAdcd":"-1","roleNameStr":"河长,联络员","roleCodeStr":"ROLE_HZ,ROLE_LLY"},{"name":"zys","gpsID":"238789","roleList":[{"roleID":"624","roleCode":"ROLE_HZ","roleName":"河长","roleId":"624"}],"groupID":"14152","groupName":"洱海","groupAdcd":"-1","roleNameStr":"河长","roleCodeStr":"ROLE_HZ"},{"name":"州级河长","gpsID":"240497","roleList":[{"roleID":"624","roleCode":"ROLE_HZ","roleName":"河长","roleId":"624"}],"groupID":"14152","groupName":"洱海","groupAdcd":"-1","roleNameStr":"河长","roleCodeStr":"ROLE_HZ"},{"name":"陈坚联络","gpsID":"241848","roleList":[{"roleID":"626","roleCode":"ROLE_LLY","roleName":"联络员","roleId":"626"}],"groupID":"14152","groupName":"洱海","groupAdcd":"-1","roleNameStr":"联络员","roleCodeStr":"ROLE_LLY"},{"name":"市多角色3","gpsID":"241487","roleList":[{"roleID":"624","roleCode":"ROLE_HZ","roleName":"河长","roleId":"624"},{"roleID":"626","roleCode":"ROLE_LLY","roleName":"联络员","roleId":"626"}],"groupID":"13961","groupName":"洱海（大理市）","groupAdcd":"-1","roleNameStr":"河长,联络员","roleCodeStr":"ROLE_HZ,ROLE_LLY"},{"name":"顺河长","gpsID":"241843","roleList":[{"roleID":"624","roleCode":"ROLE_HZ","roleName":"河长","roleId":"624"}],"groupID":"13961","groupName":"洱海（大理市）","groupAdcd":"-1","roleNameStr":"河长","roleCodeStr":"ROLE_HZ"}]
     */

    private int flag;
    private String message;
    private List<DatasBean> datas;

    public int getFlag() {
        return flag;
    }

    public void setFlag(int flag) {
        this.flag = flag;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DatasBean> getDatas() {
        return datas;
    }

    public void setDatas(List<DatasBean> datas) {
        this.datas = datas;
    }

    public static class DatasBean {
        /**
         * name : 大理州河长办测试用户
         * gpsID : 238799
         * roleList : [{"roleID":"631","roleCode":"ROLE_HZB","roleName":"河长办","roleId":"631"}]
         * groupID : 13871
         * groupName : 大理州河长办
         * groupAdcd : -1
         * roleNameStr : null
         * roleCodeStr : null
         */

        @SerializedName("name")
        private String nameX;
        private String gpsID;
        private String groupID;
        private String groupName;
        private String groupAdcd;
        private String roleNameStr;
        private String roleCodeStr;
        private List<RoleListBean> roleList;
        private String position;
        boolean isSelected;

        public String getPosition() {
            return position;
        }

        public void setPosition(String position) {
            this.position = position;
        }

        public boolean isSelected() {
            return isSelected;
        }

        public void setSelected(boolean selected) {
            isSelected = selected;
        }

        public String getNameX() {
            return nameX;
        }

        public void setNameX(String nameX) {
            this.nameX = nameX;
        }

        public String getGpsID() {
            return gpsID;
        }

        public void setGpsID(String gpsID) {
            this.gpsID = gpsID;
        }

        public String getGroupID() {
            return groupID;
        }

        public void setGroupID(String groupID) {
            this.groupID = groupID;
        }

        public String getGroupName() {
            return groupName;
        }

        public void setGroupName(String groupName) {
            this.groupName = groupName;
        }

        public String getGroupAdcd() {
            return groupAdcd;
        }

        public void setGroupAdcd(String groupAdcd) {
            this.groupAdcd = groupAdcd;
        }

        public String getRoleNameStr() {
            return roleNameStr;
        }

        public void setRoleNameStr(String roleNameStr) {
            this.roleNameStr = roleNameStr;
        }

        public String getRoleCodeStr() {
            return roleCodeStr;
        }

        public void setRoleCodeStr(String roleCodeStr) {
            this.roleCodeStr = roleCodeStr;
        }

        public List<RoleListBean> getRoleList() {
            return roleList;
        }

        public void setRoleList(List<RoleListBean> roleList) {
            this.roleList = roleList;
        }

        public static class RoleListBean {
            /**
             * roleID : 631
             * roleCode : ROLE_HZB
             * roleName : 河长办
             * roleId : 631
             */

            private String roleID;
            private String roleCode;
            private String roleName;
            private String roleId;

            public String getRoleID() {
                return roleID;
            }

            public void setRoleID(String roleID) {
                this.roleID = roleID;
            }

            public String getRoleCode() {
                return roleCode;
            }

            public void setRoleCode(String roleCode) {
                this.roleCode = roleCode;
            }

            public String getRoleName() {
                return roleName;
            }

            public void setRoleName(String roleName) {
                this.roleName = roleName;
            }

            public String getRoleId() {
                return roleId;
            }

            public void setRoleId(String roleId) {
                this.roleId = roleId;
            }
        }
    }
}
